package com.ecoolex.hotel.saas.core.dao;

import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.hotel.saas.core.mapper.ActivityMapper;
import com.ecoolex.hotel.saas.entity.Activity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivityDAO extends ActivityMapper {

    Long countByShowStoreId(@Param("storeId") Integer storeId);

    List<Activity> queryByShowStoreId(@Param("storeId") Integer storeId, @Param("page") Page page);
}